
//
// Created by jsjxsy on 2022/8/10.
//
#include <iostream>
#include <stdio.h>
int main(void){
  int i = 0x1122;
  char * p = (char *)&i;
  if (p[0] == 0x22 && p[1] == 0x11) {
    printf("Little Endian\n");
  }
  else if (p[0] == 0x11 && p[1] == 0x22) {
    printf("Big Endian\n");
  }
  return 0;
}